<template>
  <div>
    B页面
    <el-button @click="goPageC">跳转至C页面</el-button>
    <router-view></router-view>
  </div>
</template>
<script>
export default {
  methods: {
    goPageC() {
      this.$router.push({
        name: "pageC",
        query: {
          age: 2,
        },
      });
    },
  },
};
</script>
